//rest参数实在函数声明使用，必须放在参数后面
function rest1(){
  console.log("arguments----", arguments)
}
////__proto__: Object
function rest2(...args){
  console.log("rest----",args)
}
//__proto__: Array(0)
rest1(['11','22','33'])

rest2(['11','22','33'])
function rest3(a,b,...args){
  console.log("a----",a)
  console.log("b----",b)
  console.log("...args----",...args)
}
rest3(3,4,5,67,8,89)
